﻿using System;
using System.ComponentModel;
using System.Windows;

namespace GBlason
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public static bool IsInDesignMode
        {
            get
            {
#if Silverlight
            return !HtmlPage.IsEnabled;;
#else
                return DesignerProperties.GetIsInDesignMode(new DependencyObject());
#endif
            }
        }
    }
}
